package one.duck;

import one.flyImpl.FlayWithWings;
import one.quackImpl.Quack;

public class MullardDuck extends Duck {

    public MullardDuck(){
        quackBehavior = new Quack();
        flyBehavior = new FlayWithWings();
    }

    @Override
    public void display() {
        System.out.println("I'm a real Mallard duck");
    }
}
